package com.kazu.general.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 默认头像，用于留言时选择默认头像
 * </p>
 *
 * @author kazu
 * @since 2023/02/19 10:20
 */
@Data
@TableName("kazu_general_avatar")
@Schema(name = "GeneralAvatar对象", description = "默认头像，用于留言时选择默认头像")
public class GeneralAvatarVo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@Schema(name = "id", description = "id")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	@Schema(name = "avatarCategory", description = "头像类别")
	@TableField("avatar_category")
	private String avatarCategory;
	
	@Schema(name = "avatarUrl", description = "url地址")
	@TableField("avatar_url")
	private String avatarUrl;
	
	@Schema(name = "createTime", description = "创建时间")
	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;
	
	@Schema(name = "updateTime", description = "修改时间")
	@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;
	
	@Schema(name = "isDeleted", description = "是否删除(0-未删, 1-已删)")
	@TableField("is_deleted")
	@TableLogic
	private Byte isDeleted;
	
	
}




